<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>INI Reader and Writer</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../../css/style.css" type="text/css">
</head>

<body>
<table width="100%" border="0" cellpadding="4">
  <tr>
    <td class="head" height="16">INI Reader and Writer</td>
  </tr>
  <tr>
    <td bgcolor="#FF9900" height="6"></td>
  </tr>
  <tr>
    <td height=6></td>
  </tr>
</table>
<p class="title">INI Reader and Writer</p>
<p class="text" align="left">This wizard can generate a Pascal or C++ unit from an INI file for reading and writing. Its dialog is as below:</p>
<p align="center"> <img src="inifilerform.png"></p>
<ul>
  <li> 
    <p class="text"><b>INI File</b>: You can select an INI file here.</p>
  </li>
  <li> 
    <p class="text"><b>Const Prefix</b>: Some constant will be generated in unit to represent the Sections and Names in the INI file. Section constant uses 'Prefix + Section Name'. Name cnstant uses 'Prefix + Section Name + Name'. This option is to set the Prefix. Default is 'csIni'.</p>
  </li>
  <li> 
    <p class="text"><b>ClassName</b>: A class and an instance will be generated in unit to read and write the INI file. This option is to set the classname without T.
Default is 'IniOptions'.</p>
  </li>
  <li>
    <p class="text"><b>Auto Detect Type of Items in INI File</b>: If this was selected, this wizard will judge the types for each item in INI file, otherwise treat them as string. Supported types include String, Integer, Float, DateTime and Boolean.</p>
  </li>
  <li>
    <p class="text"><b>Treat 0 and 1 as Boolean Type.</b>If this was selected, this wizard will treat 0 and 1 item in INI as Boolean type, otherwise as Integer.</p>
  </li>
  <li>
    <p class="text"><b>Combine Items in Each Section</b>: If this was selected, this wizard will combine names in each section into a seperate object, otherwise use flat mode.</p>
  </li>
</ul>
  
<p class="text" align="left">Both Delphi and C++Builder are supported. In BDS 2006, language type will be judged automatically, if can NOT, a message box will be poped up to let user choose language. In BDS 2005/2006, unit must be saved before generating.</p>
<p class="text" align="left">&nbsp; 
<p class="title">Links</p>
<p class="text" align="left">
<a href="../wizards.htm">Basic Operation</a><p class="text" align="left">
<a href="../../options/wizconfig.htm">CnWizards Settings</a><p class="text" align="left">
<a href="../../cnpack/index.htm">About CnWizards</a>
<p class="text" align="left"><a href="../repository.htm">Repository List</a>
<p class="text" align="left">&nbsp; 
<hr>
<p class="text" align="center"><a href="http://www.cnpack.org">Copyrights 2001-2022 CnPack Team</a></p>
</body>
</html>